//
// Copyright (c) 2011 Alex Nesterenko
//

#ifndef NANE_D3D9CONSTANTBUFFER_H
#   define  NANE_D3D9CONSTANTBUFFER_H

#   include "nane/RenderSystem/IRenderSystem.h"
#   include <d3d9.h>

#   include <vector>

namespace nane 
{
    struct D3D9ConstantBuffer
        : public IConstantBuffer
    {
        uint32 size;
        std::vector<byte> floatBuffer;
        std::vector<byte> intBuffer;
        std::vector<byte> boolBuffer;
        
        D3D9ConstantBuffer( uint32 _size )
            : size( _size )
        {   
        }
    };
}   // namespace nane

#endif	// NANE_D3D9CONSTANTBUFFER_H
